package com.gc.business.mapper;

import com.gc.business.domain.UpkeepPlan;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 电梯保养计划 数据层
 * 
 * @author hruiyan
 * @date 2020-11-19
 */
public interface UpkeepPlanMapper extends BaseMapper<UpkeepPlan> {

    /**
     * 联合查询列表
     * @param upkeepPlan1
     * @return
     */
    public List<UpkeepPlan> selectUpkeepPlanList(UpkeepPlan upkeepPlan1);

    /**
     * 根据id联合查询
     * @param planId
     * @return
     */
    public UpkeepPlan selectUpkeepPlanListById(Long planId);

    /**
     * 根据电梯ID查询
     * @param elevatorId
     * @return
     */
    public UpkeepPlan getByElevatorId(Long elevatorId);

}